<?php
/**
 * @version 1.0
 * @since Aug-2008
 * @package lib
 * @subpackage vimua
 * @name CUploadProduct
 * @deprecated Tuỳ theo config .php ==> "USE_FTP"  (true or false)
 * mà sẽ sử dụng Local Upload hoặc FTP Upload
*/
require_once 'lib/utils/CFtpUploadImage.php';
require_once 'lib/utils/CLocalUploadImage.php';
//if(USE_FTP){
//	class CPortalUploadImage extends CFtpUploadImage {
//	}
//}else {
	class CPortalUploadImage extends CLocalUploadImage {
	}
//}

function CPortalUploadImage($dir_name, $input_name, $prefix){
	return new CPortalUploadImage($dir_name, $input_name, $prefix);
}